﻿extends layout

block content
  h1 Admin page
  hr
  form(action="/admin/add" method="post")
    div(class="form-row")
      div(class="form-group col-md-6")
        label(for="addr") 名称
        input(type="text" class="form-control" id="name" name="name" required="required" value = (node && node.name) ? node.name : '')
      div(class="form-group col-md-6")
        label(for="token") token
        input(type="text" class="form-control" id="token" name="token" required="required" value = (node && node.token) ? node.token : '')
    button(type="submit" class="btn btn-primary") Add